<!DOCTYPE html>
<html>
<include file="Public:header" />
<link href="__ACSS__/dialog.css" rel="stylesheet">
<style>
.row .col-sm-4,.row .col-sm-12{ margin-top:15px;}
</style>
  <body>
	  <div class="wrapper wrapper-content animated fadeInRight" id="printContainer">
	  	<div class="ibox">
            <div class="ibox-title">
                <h5>基本信息</h5>
            </div>
            <div class="ibox-content">
                <div class="row">
			  		<div class="col-sm-4">
			  			订单编号：<{$vo.code}>
			  		</div>
			  		<div class="col-sm-4">
			  			用户名：<{$vo.register_tel}>
			  		</div>
			  		<div class="col-sm-4">
			  			订单状态：
			  			<font class="text-danger">
			  			<switch name="vo.status" >
							<case value="-3">拒绝退款</case>
							<case value="-2">退款成功</case>
							<case value="-1">失效</case>
							<case value="0">申请退款</case>
							<case value="1">未付款</case>
							<case value="2">已付款</case>
							<case value="3">配送中</case>
							<case value="4">完成</case>
							<default />未知
						</switch>
						</font>
			  		</div>
			  		<div class="col-sm-4">
			  			商品总价：<{$vo.total_price}>
			  		</div>
			  		<div class="col-sm-4">
			  			实付款：<{:formatPrice($vo['real_price'] + $vo['mail_fee'])}>
			  		</div>
			  		<div class="col-sm-4">
			  			配送费：<{$vo.mail_fee}>
			  		</div>
			  		<div class="col-sm-4">
			  			支付类型：
			  			<switch name="vo.pay_type" >
							<case value="1">支付宝</case>
							<case value="2">微信</case>
							<case value="3">余额支付</case>
							<default />未知
						</switch>
			  		</div>
			  		<div class="col-sm-4">
			  			支付账号：<{$vo.pay_email}>
			  		</div>
			  		<div class="col-sm-4">
			  			支付途径交易号：<{$vo.pay_code}>
			  		</div>
			  		<div class="col-sm-4">
			  			下单时间：<{$vo.create_time|date='Y-m-d H:i:s',###}>
			  		</div>
			  		<div class="col-sm-4">
			  			付款时间：<notempty name="vo.pay_time"><{$vo.pay_time|date='Y-m-d H:i:s',###}></notempty>
			  		</div>
			  		<div class="col-sm-4">
			  			发货时间：<notempty name="vo.give_time"><{$vo.give_time|date='Y-m-d H:i:s',###}></notempty>
			  		</div>
			  		<div class="col-sm-4">
			  			完成时间：<notempty name="vo.done_time"><{$vo.done_time|date='Y-m-d H:i:s',###}></notempty>
			  		</div>
			  		<div class="col-sm-4">
			  			最后操作时间：<notempty name="vo.update_time"><{$vo.update_time|date='Y-m-d H:i:s',###}></notempty>
			  		</div>
			  		<div class="col-sm-12">
			  			备注：<{$vo.remark}>
			  		</div>
			  	</div>
            </div>
        </div>
        <div class="ibox">
            <div class="ibox-title">
                <h5>地址配送信息</h5>
            </div>
            <div class="ibox-content">
           		<div class="row">
			  		<div class="col-sm-4">
			  			地址：<{$vo.province}><{$vo.city}><{$vo.area}><{$vo.address}>
			  		</div>
			  		<div class="col-sm-4">
			  			配送模式：
						<switch name="vo.mail_type" >
							<case value="1">校园模式</case>
							<case value="2">快递模式</case>
							<default />未知
						</switch>
			  		</div>
			  		<div class="col-sm-4">
			  			配送时间：
			  			<if condition="$vo.mail_type eq '1'">
			  				<{$vo.mail_time}>
			  			<else/>
			  				<notempty name="vo.mail_time"><{$vo.mail_time|date='Y-m-d H:i:s',###}></notempty>
			  			</if>
			  		</div>
			  		<!-- 
			  		<div class="col-sm-4">
			  			确认配送时间：<notempty name="vo.give_time"><{$vo.give_time|date='Y-m-d H:i:s',###}></notempty>
			  		</div>
			  		 -->
			  		<div class="col-sm-4">
			  			联系人：<{$vo.contact_name}>
			  		</div>
			  		<div class="col-sm-4">
			  			联系电话：<{$vo.contact_tel}>
			  		</div>
			  	</div>
            </div>
        </div>
        <div class="ibox">
            <div class="ibox-title">
                <h5>退款信息<if condition="empty($vo['return_apply_time'])"><font class="text-danger">-无退款</font></if></h5>
            </div>
            <div class="ibox-content">
           		<div class="row">
			  		<div class="col-sm-4">
			  			申请退款时间：<notempty name="vo.return_apply_time"><{$vo.return_apply_time|date='Y-m-d H:i:s',###}></notempty>
			  		</div>
			  		<div class="col-sm-4">
			  			同意/拒绝退款时间：<notempty name="vo.return_time"><{$vo.return_time|date='Y-m-d H:i:s',###}></notempty>
			  		</div>
			  		<div class="col-sm-4">
			  			申请退款理由：<{$vo.return_reason}>
			  		</div>
			  	</div>
			</div>
		</div>	
	  	<div class="ibox">
            <div class="ibox-title">
                <h5>订单详细信息</h5>
            </div>
            <div class="ibox-content">
                <table class="table table-bordered">
			  		 <thead>
		                <tr>
		                    <th>产品名</th>
		                    <th>数量</th>
		                    <th>价格</th>
							<th>规格</th>
		                </tr>
		            </thead>
			        <tbody>
		                <foreach name="orderDetailList" item="orderDetailList">
							<tr>
			                    <td height="30"><{$orderDetailList.name}></td>
			                    <td height="30"><{$orderDetailList.num}></td>
			                    <td height="30"><{$orderDetailList.price}></td>
								<td height="30"><{$orderDetailList.attribute_values}></td>
			                </tr>
						</foreach>
			        </tbody>
			    </table>
            </div>
        </div>
	  </div>
  </body>
<!-- 全局js -->
<include file="Public:foot" />
</html>